<template>
  <div class="update">
    <h2>用户修改页面</h2>
    <!-- 获取路由参数 -->
     <p>用户id：{{ $route.params.id }}</p>
     <p>用户名：{{ $route.params.name }}</p>
  </div>
</template>

<script>
export default {
  name: 'update',
  components: {},
  props: {},
  data() {
    return {
      
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {}
}
</script>

<style scoped>

</style>